package model;

public class Warrior extends BaseCharacter{
	private static final long serialVersionUID = 1L;

	BaseCharacter bc;
	WarriorAttributes wattr;

	public void setUnderClassCharacter(BaseCharacter bc1) {
		bc = bc1;
		wattr = new WarriorAttributes();
		wattr.setBaseAttr(bc.baseAttrs);
		bc.baseAttrs = wattr;
	}

	public void doPhysicalDammageTo(BaseCharacter w2) {
		this.bc.doPhysicalDammageTo(w2);
	}

	public Weapon getWeapon() {
		return bc.getWeapon();
	}
	public void setWeapon(Weapon weapon) {
		bc.setWeapon(weapon);
	}
	public Integer getLvl() {
		return bc.getLvl();
	}
	public void setLvl(Integer lvl) {
		bc.setLvl(lvl);
	}

	public Double getHp() {
		return bc.getHp();
	}
	public void setHp(Double hp) {
		bc.setHp(hp);
	}
	public Double getStr() {
		return bc.getStr();
	}
	public Double getDef() {
		return bc.getDef();
	}
	public Double getMaxHp(){
		return bc.getMaxHp();
	}

}
